<!--# layout("/common/layout.html",{"jsBase":"/js/admin/user/"}){ -->

<form class="layui-form layui-form-pane" id="addForm"
	>
	<div class="layui-row">
        <div class="layui-form-item">
            <label class="layui-form-label">用户编码</label>
            <div class="layui-input-inline">
                <input type="text" name="code"  lay-verify="required"
                       placeholder="请输入" autocomplete="off" class="layui-input"
                       value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户姓名</label>
            <div class="layui-input-inline">
                <input type="text" name="name" autocomplete="off"
                       placeholder="请输入标题" class="layui-input" value="">
            </div>
        </div>

	</div>

    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">用户密码</label>
                <div class="layui-input-inline">
                    <input type="password" id="password" name="password" class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">密码确认</label>
                <div class="layui-input-inline">
                    <input type="password" id="password2" name="password2" class="layui-input">
                </div>
            </div>

        </div>
    </div>

    <div class="layui-row">


        <div class="layui-form-item">
            <label class="layui-form-label">用户描述</label>
            <div class="layui-input-inline">
                <input type="text" name="desc" autocomplete="off"
                       placeholder="请输入标题" class="layui-input" value="">
            </div>
        </div>
    </div>

	<div class="layui-row">
		<div class="layui-col-xs4">
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">所在机构</label>
				<layui:orgInput style='layui-input-inline' name="orgId" id="orgId"
					value=""></layui:orgInput>
			</div>
		</div>
		</div>
	</div>
    <div class="layui-row">
        <div class="layui-form-item">
            <label class="layui-form-label">有效期间</label>
            <div class="layui-input-inline">
                <div class="date-range-pick">
                    <input type="text" id="validDateRange" name="validDateRange" autocomplete="off" class="layui-input" lay-key="1">
                </div>
            </div>
        </div>
    </div>

	<layui:submitButtons id="saveUser" />
</form>
<!--#} -->
<script>
layui.use(['add'], function(){
  var userAdd = layui.add
  userAdd.init();
});
</script>

